#ifndef __ENCRYPTEDFILELOGGER_H__
#define __ENCRYPTEDFILELOGGER_H__

#include "Logger.h"

class EncryptedFileLogger : public Logger
{
public:
	EncryptedFileLogger(const TCHAR* i_filename);
	~EncryptedFileLogger();

	void log(const TCHAR* data);

	static bool decrypt(const TCHAR* i_sourceFile, const TCHAR* i_destFile);

private:
	FILE* m_pFile;

	static const TCHAR XOR_KEY;
};

#endif
